DSUser = {}
DSUser.UserName = ds_ds.UserName ()
DSUser.UserMessage = ds_ds.UserMessage ()
DSUser.UserLangNum = ds_ds.Language ()
if DSUser.UserLangNum == 0 then
  DSUser.UserLangName = "Japanese"
elseif DSUser.UserLangNum == 1 then
  DSUser.UserLangName = "English"
elseif DSUser.UserLangNum == 2 then
  DSUser.UserLangName = "French"
elseif DSUser.UserLangNum == 3 then
  DSUser.UserLangName = "German"
elseif DSUser.UserLangNum == 4 then
  DSUser.UserLangName = "Italian"
elseif DSUser.UserLangNum == 5 then
  DSUser.UserLangName = "Spanish"
end

DSUser.UserColorNum = ds_ds.Color ()
if DSUser.UserColorNum == 0 then
  DSUser.UserColorName = "Gray"
elseif DSUser.UserColorNum == 1 then
  DSUser.UserColorName = "Maroon"
elseif DSUser.UserColorNum == 2 then
  DSUser.UserColorName = "Red"
elseif DSUser.UserColorNum == 3 then
  DSUser.UserColorName = "Pink"
elseif DSUser.UserColorNum == 4 then
  DSUser.UserColorName = "Orange"
elseif DSUser.UserColorNum == 5 then
  DSUser.UserColorName = "Yellow"
elseif DSUser.UserColorNum == 6 then
  DSUser.UserColorName = "Lime"
elseif DSUser.UserColorNum == 7 then
  DSUser.UserColorName = "Green"
elseif DSUser.UserColorNum == 8 then
  DSUser.UserColorName = "Dark Green"
elseif DSUser.UserColorNum == 9 then
  DSUser.UserColorName = "Teal"
elseif DSUser.UserColorNum == 10 then
  DSUser.UserColorName = "Light Blue"
elseif DSUser.UserColorNum == 11 then
  DSUser.UserColorName = "Blue"
elseif DSUser.UserColorNum == 12 then
  DSUser.UserColorName = "Dark Blue"
elseif DSUser.UserColorNum == 13 then
  DSUser.UserColorName = "Dark Purple"
elseif DSUser.UserColorNum == 14 then
  DSUser.UserColorName = "Light Purple"
elseif DSUser.UserColorNum == 15 then
  DSUser.UserColorName = "Dark Pink"
end

DSUser.BirthMonth = ds_ds.BirthMonth ()
DSUser.BirthDay = ds_ds.BirthDay ()

DSUser.AlarmHour = ds_ds.AlarmHour ()
DSUser.AlarmMin = ds_ds.AlarmMin ()

System.isLidClosed = ds_ds.LidClosed ()

LIGHT_ON = 1
LIGHT_OFF = 0
System.SetScreenLight = function (screen, light)
  ds_ds.SetScreenLight (screen, light)
end

-- O = Obscur => 3 = Lumineux
System.SetDSLBrightness = function (brightness)
  ds_ds.SetDSLBrightness (brightness)
end

START_BLINK = 1
STOP_BLINK = 0
FAST_BLINK = 1
SLOW_BLINK = 0
System.SetLedBlink = function (blink, speed)
  ds_ds.SetLedBlink (blink, speed)
end
